package com.cn.pojo.shop;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 购物车
 */
@Data
@Accessors(chain = true)//链式; 存取器。通过该注解可以控制getter和setter方法的形式。
@TableName("shop_cart")
public class ShopCart implements Serializable {

  private static final long serialVersionUID = 915478504870211231L;

  @TableId(value = "id", type = IdType.AUTO)
  private long id;
  private long userId;
  private long commodityId;
  private long num;
  private Date createTime;
  private Date updateTime;



}
